Saving an expressionOnce you have written an expression, you can save it for future use by copying and pasting it into a text-editing application, such as Notepad, Simple Text, or even Stickies. However, because expressions are written in relation to other layers in a project and may use specific layer names, it doesn't always work to simply save and load expressions into a project. If you want to save an expression for use in another project, you may want to add comments to the expression or save the entire project file so that you can use it as a reference when you reuse the expression. Note: You can save a favorite effect that includes an expression and use it in other projects, as long as the expression does not refer to properties that don't exist in the other projects. See Saving favorite effects for instant reuse. To add comments to an expression:
Do either of the following: // This is a comment. /* This is a multiline comment */ |